mod master;

use axum::{
    routing::post,
    Router
};

pub fn routes() -> Router{
    Router::new()
    .route("/up", post(master::up))
    .route("/down", post(master::down))
    .route("/fresh", post(master::fresh))
    .route("/refresh", post(master::refresh))
    .route("/reset", post(master::reset))
    .route("/install", post(master::install))
    .route("/generate", post(master::generate))
    .route("/cli", post(master::cli))
    .route("/entity", post(master::entity))
}